package gui;
import java.util.Comparator;
import org.eclipse.swt.graphics.Point;

/**
 * comparator of 2 points
 * @author michal
 *
 */
class PointCmp implements Comparator<Point> {
    public int compare(Point a, Point b) {
        return (a.x < b.x) ? -1 : (a.x > b.x) ? 1 : 0;
    }
    
    
}
